package com.wangchao.administrator.zenmechi.db;

import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by Administrator on 2016/10/18.
 */
@DatabaseTable(tableName = "history")
public class SearchHistory {

    public long get_id() {
        return _id;
    }

    public void set_id(long _id) {
        this._id = _id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @DatabaseField(columnName = "_id",generatedId = true)
    private long _id;

    @DatabaseField(columnName = "name",dataType = DataType.STRING)
    private String name;

    public SearchHistory(String name) {
        this.name = name;
    }

    public SearchHistory(){}
}
